/********************************************************************EPD_2IN66B_H850*********
* | File      	:   EPD_2IN66B_H850_Grey.h

SSD1680
******************************************************************************/
#ifndef __EPD_2IN15_test_H_
#define __EPD_2IN15_test_H_

#include "../DEV_Config.h"

// Display resolution
#define EPD_2IN15_test_WIDTH       112   
#define EPD_2IN15_test_HEIGHT      208


#define EPD_2IN15_test_FULL 0
#define EPD_2IN15_test_PART 1

#define EPD_2IN15_test_Bwr4   2
#define EPD_2IN15_test_Bwr8   3
#define EPD_2IN15_test_Bwr16  4


// typedef enum
// {
//   FULL = 0,
//   Grey4_Bwr,
//   Grey8_Bwr,
//   Grey16_Bwr,
// } LUT_TYPE;



void EPD_2IN15_test_Init(uint8_t lut_type=EPD_2IN15_test_FULL);
void EPD_2IN15_test_Clear(void);
void EPD_2IN15_test_Display( unsigned char *BW_Image);
void EPD_2IN15_test_Sleep(void);
void EPD_2IN15_test_TurnOnDisplay(uint8_t part=EPD_2IN15_test_FULL);
void EPD_2IN15_test_Data_Write(UBYTE color,UBYTE *Image_Data,UDOUBLE index,UDOUBLE length);
void EPD_2IN15_test_setDepth(uint8_t i);
// void EPD_2IN15_test_Fast_TurnOnDisplay(void);
int8_t EPD_2IN15_test_ReadTemp();
#endif
